﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BBICMS.Resources;

namespace BBICMS.Application.InputModels.Products
{
    public class ProductIM
    {

        public int Id { get; set; }
     
        [Display(ResourceType = typeof(Labels), Name = "ProductNo")]
        [Required(ErrorMessageResourceType = typeof(Validations), ErrorMessageResourceName = "Required")]
        public string ProductNo { get; set; }

        [Display(ResourceType = typeof(Labels), Name = "Title")]
        [Required(ErrorMessageResourceType = typeof(Validations), ErrorMessageResourceName = "Required")]
        public string Title { get; set; }

        [Display(ResourceType = typeof(Labels), Name = "Category")]
        [Required(ErrorMessageResourceType = typeof(Validations), ErrorMessageResourceName = "RequiredSelect")]
        public int CategoryId { get; set; }

        [Display(ResourceType = typeof(Labels), Name = "Lang")]
        public string Lang { get; set; }

        [Display(ResourceType = typeof(Labels), Name = "Thumbnail")]
        public string Thumbnail { get; set; }


        [Display(ResourceType = typeof(Labels), Name = "Importance")]
        public int Importance { get; set; }

        [Display(ResourceType = typeof(Labels), Name = "Recommend")]
        public bool Recommend { get; set; }
        [Display(ResourceType = typeof(Labels), Name = "Active")]
        public bool Active { get; set; }

        [Display(ResourceType = typeof(Labels), Name = "Stalls")]
        public string Stalls { get; set; }
        [Display(ResourceType = typeof(Labels), Name = "Voltage")]
        public string Voltage { get; set; }
        [Display(ResourceType = typeof(Labels), Name = "TankCapacity")]
        public string TankCapacity { get; set; }
        [Display(ResourceType = typeof(Labels), Name = "WaterPressure")]
        public string WaterPressure { get; set; }
        [Display(ResourceType = typeof(Labels), Name = "Content")]
        public string Body { get; set; }

    }
}
